/* 题库列表样式 */
.question-bank-list {
    margin-top: 24px;
}

/* 题库卡片样式 */
.question-bank-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.question-bank-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.question-bank-card .ant-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 16px;
}

.card-cover {
    height: 160px;
    overflow: hidden;
    position: relative;
    /* 为留白区域添加浅色背景，避免黑边 */
    background-color: #fafafa;
}

.card-cover img {
    width: 100%;
    height: 100%;
    /* 自适应等比缩放，完整显示图片，不裁切 */
    object-fit: contain;
    /* 居中显示，四周可能会出现留白 */
    object-position: center;
}

.card-cover-placeholder {
    height: 160px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* 空状态样式 */
.empty-state {
    padding: 60px 0;
    text-align: center;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-text {
    color: #8c8c8c;
    font-size: 14px;
}